package com.lebang.model;

/**
 * @Author: hwq
 * @Date: 2020/2/24 16:04
 * @Version 1.0
 */
public enum Whether {
    /**
     * 是
     */
    YES(1),
    /**
     * 否
     */
    NO(0),;
    private Integer dbIndex;

    Whether(Integer dbIndex) {
        this.dbIndex = dbIndex;
    }

    public Integer getDbIndex() {
        return dbIndex;
    }

    public void setDbIndex(Integer dbIndex) {
        this.dbIndex = dbIndex;
    }
}
